// SlotComponent.tsx
import { defineComponent } from 'vue'

export default defineComponent({
  setup(_, { slots }) {
    return () => (
      <div>
        {slots.header?.()}
        <main>{slots.default?.()}</main>
        {slots.footer?.()}
      </div>
    )
  }
})
